import HelloWorld from '@/components/HelloWorld'
import Tool from '../view/tool/tool.vue'
import Canvas from '../view/tool/canvas'
const vueRouter={
  path: '/tool',
  name: 'tool',
  component:Tool,
  children:[
    {
      index:"1",
      path: '/tool/canvas',
      name: 'canvas',
      component: Canvas,
      title:"vue1"
    },
    {
      index:"2",
      path: '/tool/home',
      name: 'home',
      component: HelloWorld,
      title:"vue2"
    }
  ]
}
export default vueRouter